let Mock=require('mockjs')
import bills from './billData/bill'

let bill=Mock.mock('/bill',()=>{
    return bills
})

let addbill=Mock.mock('/addbill',(data:any)=>{
    bills.push(JSON.parse(data.body) )
})